package com.caijg.service;

import com.alibaba.dashscope.exception.InputRequiredException;
import com.alibaba.dashscope.exception.NoApiKeyException;
import com.alibaba.dashscope.exception.UploadFileException;
import com.caijg.domain.dto.DiagnosisDTO;
import com.caijg.domain.po.TongueDiagnosis;
import com.baomidou.mybatisplus.extension.service.IService;
import com.caijg.domain.vo.Result;

import java.util.ArrayList;

/**
 * <p>
 * 舌诊表 服务类
 * </p>
 *
 * @author caijg
 * @since 2024-12-27
 */
public interface ITongueDiagnosisService extends IService<TongueDiagnosis> {

    /**
     * 舌诊
     * @param diagnosisDTO 诊断信息
     * @return 诊断结果
     */
    Result diagnosis(DiagnosisDTO diagnosisDTO) throws Exception;

    /**
     * 用户获取舌诊记录历史列表
     * @return 舌诊记录历史列表
     */
    Result history();

    /**
     * 删除舌诊记录
     * @param ids 舌诊记录id列表
     * @return 删除结果
     */
    Result delete(ArrayList<String> ids);

}
